package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 账户充值
 *
 */
@TableName(value = "account_recharge")
public class AccountRecharge implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<AccountRecharge> createExample(){
		return new Example<AccountRecharge>(AccountRecharge.class);
	}

	/**  */
	@TableId(value = "account_recharge_id")
	private Long accountRechargeId;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/**  */
	@TableField(value = "campus_name")
	private String campusName;

	/** 0 未支付， 2已支付 ，4 已取消 */
	private Integer state;

	/**  */
	@TableField(value = "pay_time")
	private Date payTime;

	/**  */
	@TableField(value = "main_account_id")
	private Long mainAccountId;

	/** 账号名称 */
	@TableField(value = "main_account_name")
	private String mainAccountName;

	/**  */
	private BigDecimal amount;

	/** 支付方式：0-现金；1-刷卡；2-转账；3-账户 4-在线支付 5-其他,6-tms账户迁入 */
	@TableField(value = "pay_way")
	private Integer payWay;

	/**  */
	@TableField(value = "operator_id")
	private Long operatorId;

	/** 备注 如：tms转入 */
	private String remark;

	/**  */
	@TableField(value = "operator_name")
	private String operatorName;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getAccountRechargeId() {
		return this.accountRechargeId;
	}

	public void setAccountRechargeId(Long accountRechargeId) {
		this.accountRechargeId = accountRechargeId;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getBusTeamId() {
		return this.busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public String getMainAccountName() {
		return this.mainAccountName;
	}

	public void setMainAccountName(String mainAccountName) {
		this.mainAccountName = mainAccountName;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getPayWay() {
		return this.payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public Long getOperatorId() {
		return this.operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getOperatorName() {
		return this.operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
